﻿@model Example.Site.Models.SignInModel

<div class="container">
    <div class="form">
        @using (Html.BeginForm("SignIn", "Account", FormMethod.Post, new { Class = "form-horizontal" }))
        { 
            @Html.Hidden("ReturnUrl", Request.QueryString["ReturnUrl"])
            <div class="control-group">
                <label class="control-label" for="email">@Resources.Message.UserName</label>
                <div class="controls">
                    <div class="input-prepend">
                        <span class="add-on"><i class="icon-user"></i></span>@Html.TextBoxFor(m => m.Login, new { type = "email", placeholder = "Email" })
                    </div>
                </div>
            </div>
            <div class="control-group">
                <label class="control-label" for="password">@Resources.Message.Password</label>
                <div class="controls">
                    <div class="input-prepend">
                        <span class="add-on"><i class="icon-eye-close"></i></span>@Html.PasswordFor(m => m.Password, new { type="password", placeholder="Password" })
                    </div>
                </div>
            </div>                    
            <div class="controls">
                <button type="submit" class="btn btn-primary">@Resources.Message.SignIn</button>
                @*<label class="control-label" for="rememeberme">@Resources.Message.RememberMe</label>
                <input type="checkbox" id="rememberme>*@
            </div>
            @Html.ValidationSummary()
        }
    </div>
    
</div>
